package com.liyk.shop.feign;

import com.liyk.shop.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "shop-provider",fallback = ProductFeignServiceFallBack.class)
public interface ProductFeignService {

    @GetMapping(value = "/product/list")
    Result list();
}
